#!/bin/bash
for ip in `cat ip.txt`
do
ips=${ip:8}
echo $ips
cp moban.xsh $ips.xsh
sed -i "s/Host=192.168.18.121/Host=$ip/g" $ips.xsh
echo $ips.xsh
done
